{% extends "base.html" %}
{% block title %}Uploading new photo{% endblock %}
{% block content %}
<form action='/upload/{{album_key}}' method='post'
  enctype='multipart/form-data'>
  <div class='formrow'>
    제목:
    <input type='text' name='title'>
  </div>
  <div class='formrow'>
   	지은이:
    <input type='text' name='writter'>
  </div>
  <div class='formrow'>
    설명:
    <textarea name='caption' rows='4' cols='60'></textarea>
  </div>
  <div class='formrow'>
    카테고리 (comma separated):
    <input type='text' name='category'>
  </div>
  
  <div class='formrow'>
    Tags (comma separated):
    <input type='text' name='tags'>
  </div>
  <div class='formrow'>
    썸네일:
    <input type='file' name='picfile'>
  </div>
  <input type='submit' value='Send'>
</form>
{% endblock %}
